package com.future.lottie;

import android.util.Log;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

/**
 * @author xuchuanting
 * Create on 2020/8/3 14:59
 */
public class Ob implements LifecycleObserver {

    private static final String TAG = "Ob";

    @OnLifecycleEvent(value = Lifecycle.Event.ON_RESUME)
    void onResume(){

        Log.d(TAG, "onResume: ");
    }


    @OnLifecycleEvent(value = Lifecycle.Event.ON_PAUSE)
    void onPause(){
        Log.d(TAG, "onPause: ");
    }
}
